package com.example.tabletexample;

import android.app.Activity;
import android.os.Bundle;

public class DetailsWrapperActivity extends Activity{
	
	@Override
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.fragment_container_layout);
		
		Bundle args = getIntent().getExtras();
		
		TextFragment detailsFrag = new TextFragment();
		detailsFrag.setArguments(args);
		
		getFragmentManager()
			.beginTransaction()
			.replace(R.id.container_left, detailsFrag)
			.commit();
	}

}
